package organizer;

/**
 * Options on how to run in command-line mode.
 * @author dawong
 */
public class RunOptions {
    
    /**
     * What to do with the duplicates found.
     */
    public static enum Action {
        /**
         * Save all duplicates to an export file.
         */
        EXPORT_ALL, 
        /**
         * Save only the duplicates to be removed.
         */
        EXPORT_SELECTED,
        /**
         * Move to trash dir.
         */
        MOVE_TO_TRASH
    }
    
    private Action resultsAction;
    private String trashDir;
    private String exportPath;

    /**
     * What to do with the duplicates found.
     * @return 
     */
    public Action getResultsAction() {
        return resultsAction;
    }

    /**
     * What to do with the duplicates found.
     * @param resultsAction 
     */
    public void setResultsAction(Action resultsAction) {
        this.resultsAction = resultsAction;
    }

    /**
     * Directory to move duplicate files.
     * @return 
     */
    public String getTrashDir() {
        return trashDir;
    }

    /**
     * Directory to move duplicate files.
     * @param trashDir 
     */
    public void setTrashDir(String trashDir) {
        this.trashDir = trashDir;
    }

    /**
     * File to export duplicate results.
     * @return 
     */
    public String getExportPath() {
        return exportPath;
    }

    public void setExportPath(String exportPath) {
        this.exportPath = exportPath;
    }

}
